package cn.wolfcode.luowowo.search.Repository;

import cn.wolfcode.luowowo.search.domain.DestinationTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DestinationTemplateRepository extends ElasticsearchRepository<DestinationTemplate, Long> {

    /**
     * 查找目的地
     * @param keyword
     * @return
     */
    DestinationTemplate findByName(String keyword);
}
